/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
$(document).ready(function() {
    jQuery('#Header').mouseover(function() { //агрится на заголовок
        jQuery('#Header').css("background", "rgba(173,216,230,0.7)");
        jQuery('#Header').css("border-bottom", "rgba(173,216,230,0.8)");
        jQuery('#Header h3').css("color","#8B3A3A");
        jQuery('#Header h6').css("color","#8B3A3A");
        
        jQuery('#Content').css("background", "rgba(173,216,230,0.7)");
        jQuery('#Content p').css("color","#000000");
    });
    
    jQuery('#Content').mouseover(function() {//агрится на контент
        jQuery('#Header').css("background", "rgba(173,216,230,0.7)");
        jQuery('#Header').css("border-bottom", "rgba(173,216,230,0.8)");
        jQuery('#Header h3').css("color","#8B3A3A");
        jQuery('#Header h6').css("color","#8B3A3A");
        
        jQuery('#Content').css("background", "rgba(173,216,230,0.7)");
        jQuery('#Content p').css("color","#000000");
    });
    
    jQuery('#Header').mouseout(function() { //агрится на заголовок
        jQuery('#Header').css("background", "rgba(173,216,230,0.3)");
        jQuery('#Header').css("border-bottom", "rgba(173,216,230,0.4)");
        jQuery('#Header h3').css("color","#BEBEBE");
        jQuery('#Header h6').css("color","#BEBEBE");
        
        jQuery('#Content').css("background", "rgba(173,216,230,0.3)");
        jQuery('#Content p').css("color","#D3D3D3");
    });
    
    jQuery('#Content').mouseout(function(){//агрится на контент
        jQuery('#Header').css("background", "rgba(173,216,230,0.3)");
        jQuery('#Header').css("border-bottom", "rgba(173,216,230,0.4)");
        jQuery('#Header h3').css("color","#BEBEBE");
        jQuery('#Header h6').css("color","#BEBEBE");
        
        jQuery('#Content').css("background", "rgba(173,216,230,0.3)");
        jQuery('#Content p').css("color","#D3D3D3");
    });
});



